import Vue from 'vue'
import Router from 'vue-router'

import shouye from "../components/sxyview/shouye.vue";
import jiedan from "../components/sxyview/jiedan.vue";
import Map from "../components/sxyview/Map.vue";
import heatMaps from "../components/sxyview/heatMaps.vue";
import Search from "../components/sxyview/Search.vue";
import login from "../components/sxyview/login.vue";
import register from "../components/sxyview/register.vue";
import PersonalCenter from "../components/personal/PersonalCenter.vue";
import About from "../components/personal/About.vue";
import Privacy from "../components/personal/Privacy.vue";
import License from "../components/personal/License.vue";
import SetUp from "../components/personal/SetUp.vue";
import UserGuide from "../components/personal/UserGuide.vue";
import Statistics from "../components/personal/Statistics.vue";
import heatMap from "../components/zzhview/heatMap.vue";
import GrabOrders from "../components/wkxView/grabOrders.vue";
import Trip from "../components/wkxView/trip.vue";
import Assess from "../components/wkxView/assess.vue";
import AssessContent from "../components/wkxView/assessContent.vue";
import securityCenter from "../components/wkxView/securityCenter.vue";
import UnableCar from "../components/wkxView/UnableCar.vue";
import starting from "../components/syview/starting.vue";
import arriveAtDestination from "../components/syview/arriveAtDestination.vue";
import endOrder from "../components/syview/endOrder.vue";
import bankcard from "../components/syview/bankcard.vue";
import secretfree from "../components/syview/secretfree.vue";
import openSecretfree from "../components/syview/openSecretfree.vue";
import newIndex from "../components/syview/newIndex.vue";
import dcOrders from "../components/myrview/dcOrders.vue";
import feedback from "../components/myrview/feedback.vue";
import finishOrders from "../components/myrview/finishOrders.vue";
import destination from "../components/sxyview/destination.vue";
import collect from "../components/sxyview/collect.vue";
import CancelsOrder from "../components/personal/CancelsOrder.vue";
import Contact from "../components/personal/Contact.vue";
import PriceRule from "../components/personal/PriceRule.vue";
import InvoiceData from "../components/personal/InvoiceData.vue";
import IssueOrder from "../components/personal/IssueOrder.vue";
import OrderComplaint from "../components/personal/OrderComplaint.vue";
import SafetyFeatures from "../components/personal/SafetyFeatures.vue";
import WithdrawDeposit from "../components/personal/WithdrawDeposit.vue";
import setOut from "../components/zzhview/setOut.vue";
import WithdrawRecord from "../components/personal/WithdrawRecord.vue";
import undoneorder from "../components/myrview/undoneorder.vue";
import ItenmMissing from "../components/personal/ItemMissing.vue";
import card from "../components/syview/card.vue";
import chat from "../components/myrview/chat.vue";
import saveCar from "../components/personal/SaveCar.vue";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/UserGuide/PriceRule',
      name: 'PriceRule',
      component: PriceRule
    },
    {
      path: '/newIndex',
      name: 'newIndex',
      component: newIndex
    },
    {
      path: '/shouye',
      name: 'shouye',
      component: shouye
    },
    {
      path: '/setOut',
      name: 'setOut',
      component: setOut
    },
    {
      path: '/endOrder',
      name: 'endOrder',
      component: endOrder
    },
    {
      path: '/arriveAtDestination',
      name: 'arriveAtDestination',
      component: arriveAtDestination
    },
    {
      path: '/jiedan',
      name: 'jiedan',
      component: jiedan
    },
    {
      path: '/Map',
      name: 'Map',
      component: Map
    },
    {
      path: '/heatMaps',
      name: 'heatMaps',
      component: heatMaps
    },
    {
      path: '/Search',
      name: 'Search',
      component: Search
    },
    {
      path: '/register',
      name: 'register',
      component: register
    },
    {
      path: '/PersonalCenter',
      name: 'PersonalCenter',
      component: PersonalCenter
    },
    {
      path: '/About',
      name: 'About',
      component: About
    },
    {
      path: '/Privacy',
      name: 'Privacy',
      component: Privacy
    },
    {
      path: '/License',
      name: 'License',
      component: License
    },
    {
      path: '/SetUp',
      name: 'SetUp',
      component: SetUp
    },
    {
      path: '/UserGuide',
      name: 'UserGuide',
      component: UserGuide
    },
    {
      path: '/Statistics',
      name: 'Statistics',
      component: Statistics
    },
    {
      path: '/heatMap',
      name: 'heatMap',
      component: heatMap
    },
    {
      path: '/grabOrders',
      name: 'GrabOrders',
      component: GrabOrders
    },
    {
      path: '/starting',
      name: 'starting',
      component: starting
    },
    {
      path: '/dcOrders',
      name: 'dcOrders',
      component: dcOrders
    },
    {
      path: '/feedback/:orderId',
      name: 'feedback',
      component: feedback
    },
    {
      path: '/undoneorder/:orderId',
      name: 'undoneorder',
      component: undoneorder
    },
    {
      path: '/trip',
      name: 'Trip',
      component: Trip
    },
    {
      path: '/destination',
      name: 'destination',
      component: destination
    },
    {
      path: '/collect',
      name: 'collect',
      component: collect
    },
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/securityCenter',
      name: 'securityCenter',
      component: securityCenter
    },
    {
      path: '/UserGuide/CancelsOrder',
      name: 'CancelsOrder',
      component: CancelsOrder
    },
    {
      path: '/UserGuide/Contact',
      name: 'Contact',
      component: Contact
    },
    {
      path: '/UserGuide/InvoiceData',
      name: 'InvoiceData',
      component: InvoiceData
    },
    {
      path: '/assess',
      name: 'Assess',
      component: Assess
    },
    {
      path: '/assessContent',
      name: 'AssessContent',
      component: AssessContent
    },
    {
      path: '/UserGuide/IssueOrder',
      name: 'IssueOrder',
      component: IssueOrder
    },
    {
      path: '/UserGuide/ItemMissing',
      name: 'ItemMissing',
      component: ItenmMissing
    },
    {
      path: '/UserGuide/OrderComplaint',
      name: 'OrderComplaint',
      component: OrderComplaint
    },
    {
      path: '/UserGuide/SafetyFeatures',
      name: 'SafetyFeatures',
      component: SafetyFeatures
    },
    {
      path: '/WithdrawDeposit',
      name: 'WithdrawDeposit',
      component: WithdrawDeposit
    },
    {
      path: '/bankcard',
      name: 'bankcard',
      component: bankcard
    },
    {
      path: '/secretfree',
      name: 'secretfree',
      component: secretfree
    },
    {
      path: '/openSecretfree',
      name: 'openSecretfree',
      component: openSecretfree
    },
    {
      path: '/finishOrders/:orderId',
      name: 'finishOrders',
      component: finishOrders
    },
    {
      path: '/WithdrawRecord',
      name: 'WithdrawRecord',
      component: WithdrawRecord
    },
    {
      path: '/UnableCar',
      name: 'UnableCar',
      component: UnableCar
    },
    {
      path: '/card',
      name: 'card',
      component: card
    },
    {
      path: '/chat',
      name: 'chat',
      component: chat
    },
    {
      path: '/saveCar',
      name: 'saveCar',
      component: saveCar
    }
  ]
})
